package org.example.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * 客户还款计划表实体
 */
@Data
@TableName("customer_repay_plan")
public class CustomerRepayPlan {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String orderNo;
    private String billId;
    private BigDecimal loanAmount;
    private String loanTerm;
    private Long billTenor;
    private LocalDate dueDate;
    private BigDecimal nowPayPrincipal;
    private BigDecimal nowPayInterest;
    private BigDecimal nowPayAmount;
    private LocalDate actualRepayDate;
    private BigDecimal actualPrincipal;
    private BigDecimal actualInterest;
    private BigDecimal penaltyInterest;
    private BigDecimal actualRepayMoney;
    private Integer overdueDays;
    private BigDecimal rate;
    private BigDecimal monthRate;
    private String repayStatus;
}
